package chapter03;

public class Rectangle extends abstract_test {
    double length, width;

    public Rectangle(double length, double width) {
        this.length = length;
        this.width = width;
    }

    @Override  //启动检查机制
    public double area() {
        return (length*width);
    }
}
